package com.wyix.entity;

/**
 * @author wangdx
 * @since 2025/8/5
 */
public class Book {
    private String title;   // 书名
    private String author;  // 作者
    private String isbn;    // ISBN编号

    public Book(String title, String author, String isbn) {
        this.title = title;
        this.author = author;
        this.isbn = isbn;
    }

    @Override
    public String toString() {
        return "《" + title + "》 | 作者：" + author + " | ISBN：" + isbn;
    }
}
